<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



<html:form action="/View/updateFlight" >
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>Airline Systems</title>
	</head>
	<body>			
		
		
		<jsp:include page="menu.jsp"></jsp:include>
	<td align="center">
		
		<h4 style="color: red"><html:errors /></h4><bean:write name="updateFlightForm" property="error"/></center>
	<br>
<table border="1"  cellspacing="1" bordercolor="blue">	
<tr>
	<td>Flight No : </td><td><html:text property="flight.flightNumber" name="updateFlightForm" readonly="true"></html:text></td></tr>
<tr>	
	<td>Airline Name :</td><td> <html:text property="flight.airlineName" name="updateFlightForm" readonly="true"></html:text></td></tr>
<tr>	
	<td>Source :</td><td><html:text property="flight.source" name="updateFlightForm" readonly="true"></html:text></td></tr>

<tr>	
	<td>	Destination :</td><td><html:text property="flight.destination" name="updateFlightForm" readonly="true"></html:text></td></tr>
	
	<tr>	
	<td>Board Time:</td><td><html:text property="flight.boardTime" name="updateFlightForm" readonly="true"></html:text></td></tr>
	
	<tr>	
	<td>Destination Time :</td><td><html:text property="flight.destTime" name="updateFlightForm" readonly="true"></html:text></td></tr>
	
	<tr>	
	<td>Total Seats: </td><td><html:text property="flight.totalSeatCount" name="updateFlightForm"></html:text></td></tr>
	<tr>	
	<td>Available Seats: </td><td><html:text property="flight.availableSeatCount" name="updateFlightForm"></html:text></td></tr>
	
	<tr>	
	<td>Price:</td><td><html:text property="flight.price" name="updateFlightForm"></html:text></td></tr>
	
	<tr>	
	<td>Crew Details:</td><td><html:text property="flight.crewDetails" name="updateFlightForm"></html:text></td></tr>
	
	
	
	</table><br>	

	<center><html:submit>Update Flight</html:submit></center>

</td>
</tr></table>
	</body>
</html:form>